import '../main.js';
import '../../css/index/index.scss';

// 读取本地资料 给顶部 头像赋值----
let userInfo = JSON.parse(localStorage.userInfo);
let [{ avatar, uname }] = userInfo;
$('#nav_avatar').html(`
    <img src="${avatar}" class="layui-nav-img">${uname}
`)
